package com.jwt.demo.db.bean;

import java.util.Date;

/**
 * Table: jwt_user
 */
public class UserLogin {
    /**
     * Column: id
     */
    private Long id;

    /**
     * Column: number
     * Remark: 账号
     */
    private Long number;

    /**
     * Column: username
     * Remark: 用户名
     */
    private String username;

    /**
     * Column: password
     * Remark: 密码
     */
    private String password;

    /**
     * Column: phone
     * Remark: 手机号
     */
    private String phone;

    /**
     * Column: create_time
     * Remark: 创建时间
     */
    private Date createTime;

    /**
     * Column: update_time
     * Remark: 修改时间
     */
    private Date updateTime;

    /**
     * Column: salt
     * Remark: 加密盐
     */
    private String salt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }
}